package com.woniuxy.enjoylife.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.List;

/**
 * @author teamEnjoyLife75
 * @since 2021-01-18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
//动态表
@Accessors(chain = true)
public class RecentAgree implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)

    private Integer id;
    //动态的id
    private Integer recent_id;

    //点赞数
    private Integer agree_num;

    //点赞人的id
    private Integer uid;

    //点赞时间
    private LocalDate time;




}
